//package com.youbi.shop.api.security;
//
//import com.youbi.shop.security.provider.AuthenticationTokenParser;
//import com.youbi.shop.common.util.Json;
//import org.springframework.security.authentication.AbstractAuthenticationToken;
//import org.springframework.stereotype.Component;
//
///**
// * MiniAppAuthenticationTokenParser
// */
//@Component
//public class MiniAppAuthenticationTokenParser implements AuthenticationTokenParser {
//    @Override
//    public AbstractAuthenticationToken parse(String authenticationTokenStr) {
//        MiniAppAuthenticationToken  authRequest = Json.parseObject(authenticationTokenStr, MiniAppAuthenticationToken.class);
//        return authRequest;
//    }
//}
